package com.sinog.front.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * @desc 导入 Excel 时使用的映射实体类，Excel 模型(包含：预安置人员基本信息、服刑信息)
 * @author lzq
 * @date -
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ImportInfo extends BaseRowModel {

    /**
     * 基本信息
     */
    @ExcelProperty(value = "姓名", index = 0)
    private String pname;
    @ExcelProperty(value = "曾用名", index = 1)
    private String usedName;
    @ExcelProperty(value = "性别", index = 2)
    private String sex;
    @ExcelProperty(value = "民族", index = 3)
    private String nationality;
    @ExcelProperty(value = "证件类型", index = 4)
    private String idType;
    @ExcelProperty(value = "证件号码", index = 5)
    private String idNum;
    @ExcelProperty(value = "出生日期", index = 6)
    private Date age;
    @ExcelProperty(value = "入监日期", index = 7)
    private Date addtime;
    @ExcelProperty(value = "文化程度", index = 8)
    private String education;
    @ExcelProperty(value = "户籍类型", index = 9)
    private String priAddr;
    @ExcelProperty(value = "户籍地址", index = 10)
    private String hujidz;
    @ExcelProperty(value = "户籍地详细地址", index = 11)
    private String nativenum;
    @ExcelProperty(value = "居住地址", index = 12)
    private String juzhudz;
    @ExcelProperty(value = "居住地详细地址", index = 13)
    private String placenum;
    /**
     * 服刑信息
     */
    @ExcelProperty(value = "罪名", index = 14)
    private String critype;
    @ExcelProperty(value = "现刑期", index = 15)
    private String pritime;
    @ExcelProperty(value = "逮捕机关", index = 16)
    private String arrJg;
    @ExcelProperty(value = "是否累惯犯", index = 17)
    private String precri;
    @ExcelProperty(value = "是否疾病、残疾", index = 18)
    private String canji;
    @ExcelProperty(value = "原判刑期起日", index = 19)
    private Date priBegin;
    @ExcelProperty(value = "原判刑期止日", index = 20)
    private Date priStop;
    @ExcelProperty(value = "附加刑", index = 21)
    private String addpenalty;
    @ExcelProperty(value = "案犯类别", index = 22)
    private String aftype;
    @ExcelProperty(value = "捕前职业", index = 23)
    private String bqzy;
    @ExcelProperty(value = "捕前职业分类", index = 24)
    private String jinengtype;
    /**
     * 配偶、父母或其他
     */
    @ExcelProperty(value = "配偶、父母或其他-姓名", index = 25)
    private String thename;
    @ExcelProperty(value = "关系", index = 26)
    private String relation;
    @ExcelProperty(value = "证件类型", index = 27)
    private String srIdtype;
    @ExcelProperty(value = "证件号码", index = 28)
    private String idnumber;
    @ExcelProperty(value = "性别", index = 29)
    private String gender;
    @ExcelProperty(value = "出生日期", index = 30)
    private Date srAge;
    @ExcelProperty(value = "工作单位", index = 31)
    private String danwei;
    @ExcelProperty(value = "手机号", index = 32)
    private String mobile;
    @ExcelProperty(value = "固定电话", index = 33)
    private String tel;
    @ExcelProperty(value = "家庭地址", index = 34)
    private String jtdz;
    @ExcelProperty(value = "家庭详细地址", index = 35)
    private String addrdetail;
    /**
     * 未成年子女
     */
    @ExcelProperty(value = "子女-姓名", index = 36)
    private String name;
    @ExcelProperty(value = "性别", index = 37)
    private String znSex;
    @ExcelProperty(value = "证件类型", index = 38)
    private String znIdType;
    @ExcelProperty(value = "证件号码", index = 39)
    private String znsfId;
    @ExcelProperty(value = "出生日期", index = 40)
    private Date znAge;
    @ExcelProperty(value = "监护人情况", index = 41)
    private String jianhuren;
    @ExcelProperty(value = "生活困难程度", index = 42)
    private String kunnan;
    @ExcelProperty(value = "失学", index = 43)
    private String shixue;
    @ExcelProperty(value = "流浪社会", index = 44)
    private String liulang;
    @ExcelProperty(value = "违法犯罪行为", index = 45)
    private String fanzui;
    @ExcelProperty(value = "户籍地", index = 46)
    private String hujid;
    @ExcelProperty(value = "户籍详细地址", index = 47)
    private String znNativenum;
    @ExcelProperty(value = "居住地", index = 48)
    private String juzhud;
    @ExcelProperty(value = "子女-居住详细地址", index = 49)
    private String znPlacenum;
}